package cn.wangqi.personal.wxpay.controller;

import cn.wangqi.personal.wxpay.util.webconfig.WxPayCore;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by admin on 2017/8/12.
 */
@RequestMapping("wxpay")
@Controller
public class WXPayController {
    /**
     * 扫码支付  下单
     */
    @RequestMapping("pay.html")
    public void doUnifiedOrder(HttpServletRequest request) {
        String payUrl = WxPayCore.buildCode(request);
    }
}
